package cn.zhouchao.user.mapper;

import cn.zhouchao.user.domain.Logininfo;
import cn.zhouchao.basic.mapper.BaseMapper;
import cn.zhouchao.user.dto.AccountDto;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhouchao
 * @since 2023-03-04
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findByAccount(AccountDto dto);

    Logininfo findByUserId(Long userId);
}
